package com.investmenttechnologyservices.services;

import java.util.Currency;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.appengine.api.datastore.Key;
import com.investmenttechnologyservices.model.Exchange;
import com.investmenttechnologyservices.model.PriceFormat;

public interface SymbolService {

	List<Map<String,Object>> pickerFindAll(HttpServletRequest req, HttpServletResponse res) throws ServletException;
	PriceFormat getInstrumentPriceFormat(Key instrumentKey);
	Date calculateSettlementDate(Key symbolKey, Date tradeDate);
	
	Key getSymbol(Key instrumentKey, Key dataProvider);
	
	Key createSymbolITS(Key instrumentKey, String symbol, Key exchangeKey, Currency currency);

	PriceFormat getPriceFormat(Key symbolKey);
	
}
